/**
 * Copyright © 2020 ECHRONOS Corp. All rights reserved.
 * This software is proprietary to and embodies the confidential
 * technology of ECHRONOS Corp.  Possession, use, or copying
 * of this software and media is authorized only pursuant to a
 * valid written license from ECHRONOS Corp or an authorized sublicensor.
 */
package com.dmz.workflow.entity;


import lombok.Data;
import com.baomidou.mybatisplus.annotation.*;
import java.time.LocalDateTime;

/**
 * 讨论实体类
 */
@Data
@TableName("ech_workflow_discussion")
public class Discussion{

    /**
     *  主键 
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    /**
     *  内容 
     */
    private String content;
    /**
     *  创建时间 
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    /**
     *  评论创建人 
     */
    @TableField(fill = FieldFill.INSERT)
    private Integer createUser;
    /**
     *  评论节点id 
     */
    private String nodeId;

    /**
     * 流程实例id
     */
    private String processInstanceId;

    /**
     * 公司id
     */
    private Integer companyId;
}